const initialState = {}; //存储userInfo 用户信息
export const userInformation = (state = initialState, actions) => {
  switch (actions.type) {
    case "userInfo":
      return actions.payload;
    case "clearUserInfo":
      return initialState;
    default:
      return state;
  }
};
